package com.youlu.campus.admin.cms.service;

import com.youlu.campus.admin.cms.entity.ComplaintInfo;
import com.youlu.campus.admin.cms.vo.ComplaintInfoQueryRequest;
import org.springframework.data.domain.Page;

public interface ComplaintInfoService {

    Page<ComplaintInfo> query(ComplaintInfoQueryRequest req);

    /**
     * @param userId
     * @param status:(normal,disabled)
     * @return
     */
    boolean setBlackList(String id, String userId, String status);

    /**
     * 修改内容显示状态
     *
     * @param contentId
     * @param type
     * @param status
     * @return
     */
    boolean updateContentStatus(String id,String contentId, Integer type, Integer status);

    /**
     * @param tenantId
     * @param c
     * @return
     */
    boolean create(String tenantId, ComplaintInfo c);


}
